package com.josework.springhelloworld.config;

import com.josework.springhelloworld.model.Article;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Configuration
public class MyConfig {

    @Bean
    public Article articleCreate(){
        return Article.builder().id(1L).author("JosephXu11111111111111111111").build();
    }
}
